class CreateWorklogs < ActiveRecord::Migration
  def self.up
    create_table :worklogs do |t|
    t.column :start_time, :time
    t.column :end_time, :time
    t.column :task_id, :integer
    t.column :todays_date, :date
    t.column :comments, :text    
    end
  end

  def self.down
    drop_table :worklogs
  end
end
